package com.qf.huigou.utils;

import java.util.ArrayList;
import java.util.List;

/**
 * @version 1.8.0_131
 * @Author WangYiZhu
 * @Email 2641956765@qq.com
 * @Time 2022/12/08 21:43
 */

public class ParseUtils {
    public static List<Integer> parseIntoList(int value){
        List<Integer> list=new ArrayList<>();
        String[] arr= (value + "").split("");
        for (String s : arr) {
            list.add(Integer.parseInt(s));
        }

        return list;
    }
}
